package com.wmh.baseservice.robot.pojo.vo.robottaskadpushunit;

import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 谢骏
 * @date 2023/9/8 10:13
 **/
@Data
@Accessors(chain = true)
public class RobotTaskAdPushUnitBaseVO {

    @NotBlank(message = "未提交名称")
    @Length(min = 2,  message = "名称字符长度最小为 2")
    private String name;

    @NotBlank(message = "未提交参数")
    private String param;

    @NotNull(message = "未提交任务编号")
    private Long robotTaskId;
}
